package ${entityPackageName};

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fw.cost.model.repository.AbstractBaseModel;

import com.fw.cost.model.annotation.FieldDesc;
import lombok.Data;

/**
* <b><code></code></b>
* <p/>
*
* ${classInfo.classComment}
*
* <p/>
* <b>Creation Time:</b> ${.now?string('yyyy/MM/dd HH:mm:ss')}
*
* @author ${classInfo.authorName}
* @version ${classInfo.version}
*/
@Data
@TableName("${classInfo.tableName}")
public class ${classInfo.classAliasName}Model extends AbstractBaseModel {


<#if classInfo.fieldList?exists && classInfo.fieldList?size gt 0>
    <#list classInfo.fieldList as fieldItem >
        <#if fieldItem.columnName=="id">
    @TableId
    @FieldDesc(fieldName ="主键ID")
    private String id;
        <#else>

    /**
    *  ${fieldItem.fieldComment}
    */
    @TableField("${fieldItem.columnName}")
    @FieldDesc(fieldName ="${fieldItem.fieldComment}")
    private ${fieldItem.fieldClass} ${fieldItem.fieldAliasName};

        </#if>
    </#list>
</#if>
}